Skip to content

boot-qemu.sh: Add support for earlycon#40

Merged
msfjarvis merged 1 commit into
ClangBuiltLinux:mainfrom
nathanchance:earlycon
Mar 24, 2021
Merged

boot-qemu.sh: Add support for earlycon#40
msfjarvis merged 1 commit into
ClangBuiltLinux:mainfrom
nathanchance:earlycon

Conversation

@nathanchance

Copy link
Copy Markdown
Member

There is currently a crash on -next for RISC-V that is not visible
without this. For all ARM architectures supported with this script, just
"earlycon" works because the device trees have support for the console
and baud rates. RISC-V is the same way. x86 needs the type of I/O and
address. ttyS0 is 0x3f8 (arch/x86/boot/early_serial_console.c) and we
do regular I/O. The baud rate works with the default so it is omitted.

MIPS already has earlycon enabled.

I cannot find any research on earlycon on PowerPC or s390 so they are
omitted.

There is currently a crash on -next for RISC-V that is not visible
without this. For all ARM architectures supported with this script, just
"earlycon" works because the device trees have support for the console
and baud rates. RISC-V is the same way. x86 needs the type of I/O and
address. ttyS0 is 0x3f8 (arch/x86/boot/early_serial_console.c) and we
do regular I/O. The baud rate works with the default so it is omitted.

MIPS already has earlycon enabled.

I cannot find any research on earlycon on PowerPC or s390 so they are
omitted.

Signed-off-by: Nathan Chancellor <nathan@kernel.org>

@nickdesaulniers nickdesaulniers left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🍍 🔞 🌊

@msfjarvis msfjarvis merged commit 1d31e71 into ClangBuiltLinux:main Mar 24, 2021
@nathanchance nathanchance deleted the earlycon branch March 24, 2021 17:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants